﻿<!DOCTYPE html>
<html lang="en">
<head>
    <title>Intranet Cliente</title>


    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    @*<link rel="stylesheet" href="/data/css/hot-sneaks/jquery-ui-1.10.4.custom.min.css">*@
    @*<script src="/data/js/jquery-1.10.2.js"></script>*@
    @*<script src="/data/js/jquery-ui-1.10.4.custom.js"></script>*@

    <script type="text/javascript" src="/data/js/jquery-1.7.1.min.js"></script>
    <script type="text/javascript" src="/data/js/ui/jquery-ui-1.8.17.custom.min.js"></script>
    <script type="text/javascript" src="/data/js/jquery.corner.js"></script>
    <script type="text/javascript" src="/data/js/jquery.validate.js"></script>
    <script type="text/javascript" src="/data/js/css_browser_selector.js"></script>
    @*<script type="text/javascript" src="/data/js/jquery.jqplot.min.js"></script>
    <script type="text/javascript" src="/data/js/plugins/jqplot.highlighter.min.js"></script>
    <script type="text/javascript" src="/data/js/plugins/jqplot.cursor.min.js"></script>
    <script type="text/javascript" src="/data/js/plugins/jqplot.dateAxisRenderer.min.js"></script>
    <script type="text/javascript" src="/data/js/plugins/jqplot.pieRenderer.min.js"></script>
    <script type="text/javascript" src="/data/js/plugins/jqplot.barRenderer.min.js"></script>*@
    <script type="text/javascript" src="/data/js/editor/jquery.cleditor.min.js"></script>
    <script type="text/javascript" src="/data/js/calendar/fullcalendar.min.js"></script>
    <script type="text/javascript" src="/data/js/jquery.multiselect.min.js"></script>
    <script type="text/javascript" src="/data/js/tooltip/jquery.tipsy.js"></script>
    <script type="text/javascript" src="/data/js/validation/jquery.validationEngine.js"></script>
    <script type="text/javascript" src="/data/js/validation/languages/jquery.validationEngine-en.js"></script>
    <script type="text/javascript" src="/data/js/jquery.dataTables.min.js"></script>
    <script type="text/javascript" src="/data/js/fancybox/jquery.fancybox-1.3.4.pack.js"></script>
    <script type="text/javascript" src="/data/js/fancybox/jquery.easing-1.4.pack.js"></script>
    <script type="text/javascript" src="/data/js/js.js"></script>
    <script src="/data/js/jquery.datetimepicker.js"></script>
    @*<link rel="stylesheet" href="/data/css/reset.css" type="text/css" />*@
    <link rel="stylesheet" href="/data/css/grid.css" type="text/css" />
    <link rel="stylesheet" href="/data/css/style.css" type="text/css" />
    <link rel="stylesheet" href="/data/css/jquery.datetimepicker.css" />





    <script src="~/Scripts/generalFunctions.js"></script>
    <link href="~/Content/estilosGeneral.css" rel="stylesheet" />
    <script src="~/Scripts/Scritp_View/GenerarReservaCliente.js"></script>

    <script src="~/Scripts/Scritp_View/GenerarReservaCliente2.js"></script>



    <script src="~/Scripts/Scritp_View/PaginaPrincipalCliente.js"></script>

    <script type="text/javascript">
            // URIS RESERVA CLIENTE NORMAL
            @*ObjectPage.uriAgregarPasajeroTemporal = '@Url.Action("agregarPasajeroTemporal", "INT_Reserva")';
            ObjectPage.uriGenerarReserva = '@Url.Action("generarReserva", "INT_Reserva")';
            ObjectPage.uriMarcarAsientosNoDisponibles = '@Url.Action("listarAsientosNoDisponibles", "INT_Reserva")';
            ObjectPage.uriPaginaPrincipal = '@Url.Action("Index", "INT_Principal")';
            ObjectPage.uriMarcarAsientosNoDisponiblesVuelta = '@Url.Action("listarAsientosNoDisponiblesVuelta", "INT_Reserva")';
            ObjectPage.uriDatosPasajero = '@Url.Action("getDatosPasajeroXDNI", "INT_Reserva")';*@

            // URIS RESERVA CLIENTE LOGUEADO
            ObjectPage2.uriAgregarPasajeroTemporal2 = '@Url.Action("agregarPasajeroTemporal", "ReservaClienteLogin")';
            ObjectPage2.uriGenerarReserva2 = '@Url.Action("generarReserva", "ReservaClienteLogin")';
            ObjectPage2.uriMarcarAsientosNoDisponibles2 = '@Url.Action("listarAsientosNoDisponibles", "ReservaClienteLogin")';
            ObjectPage2.uriPaginaPrincipal2 = '@Url.Action("BuscarProgramacion", "ReservaClienteLogin")';
            ObjectPage2.uriMarcarAsientosNoDisponiblesVuelta2 = '@Url.Action("listarAsientosNoDisponiblesVuelta", "ReservaClienteLogin")';
            ObjectPage2.uriDatosPasajero2 = '@Url.Action("getDatosPasajeroXDNI", "ReservaClienteLogin")';

    </script>


    @*<link rel="stylesheet" href="/data/js/plugins.css" type="text/css" />*@
    <script class="code" type="text/javascript">
        $(document).ready(function () {

            $('.checkboxui, .radioui').buttonset();

            $('#slider').slider({ values: [20, 50], range: true });
        });
    </script>
    <script>
        $(document).ready(function () {
            $('input[type="date"]').datetimepicker().datetimepicker({
                step: 30,
                lang: 'es',
                format: 'd/m/Y',
                timepicker: false
            }).prop('type', 'text');
        });
    </script>
</head>

<body>
    @*<script class="code" type="text/javascript">
        $(document).ready(function () {
            var line1 = [['07-Dec-11', 320], ['08-Dec-11', 350], ['09-Dec-11', 355], ['10-Dec-11', 420], ['11-Dec-11', 407], ['12-Dec-11', 320], ['13-Dec-11', 401], ['14-Dec-11', 353], ['15-Dec-11', 402], ['16-Dec-11', 471], ['17-Dec-11', 555]];
            var plot1 = $.jqplot('chart1', [line1], {
                title: 'Unique visitors by days',
                axes: {
                    xaxis: {
                        renderer: $.jqplot.DateAxisRenderer,
                        tickOptions: {
                            formatString: '%b&nbsp;%#d'
                        }
                    },
                    yaxis: {
                        tickOptions: {
                            formatString: '%.0f Visitors'
                        }
                    }
                },
                highlighter: {
                    show: true,
                    sizeAdjust: 10
                },
                cursor: {
                    show: false
                }
            });

            var data = [
              ['Heavy Industry', 12], ['Retail', 9], ['Light Industry', 14],
              ['Out of home', 16], ['Commuting', 7], ['Orientation', 9]
            ];
            var plot1 = jQuery.jqplot('chart2', [data],
              {
                  seriesDefaults: {
                      // Make this a pie chart.
                      renderer: jQuery.jqplot.PieRenderer,
                      rendererOptions: {
                          // Put data labels on the pie slices.
                          // By default, labels show the percentage of the slice.
                          showDataLabels: true
                      }
                  },
                  legend: { show: true, location: 'e' }
              }
            );

            var line1 = [['Cup Holder Pinion Bob', 7], ['Generic Fog Lamp', 9], ['HDTV Receiver', 15],
            ['8 Track Control Module', 12], [' Sludge Pump Fourier Modulator', 3],
            ['Transcender/Spice Rack', 6], ['Hair Spray Danger Indicator', 18]];

            var cosPoints = [];
            for (var i = 0; i < 2 * Math.PI; i += 0.1) {
                cosPoints.push([i, Math.cos(i)]);
            }
            var plot1 = $.jqplot('chart3', [cosPoints], {
                series: [{ showMarker: false }],
                axes: {
                    xaxis: {
                        label: 'Angle (radians)'
                    },
                    yaxis: {
                        label: 'Cosine'
                    }
                }
            });

            $('#progress1').progressbar({ value: 25 });
            $('#progress2').progressbar({ value: 50 });
            $('#progress3').progressbar({ value: 100 });

        });
    </script>*@
    @ViewBag.RegistroNuevoCliente
    <div id="main" class="container_12">
 
        <div class="clear"></div>
        <div id="userbar">
            <!-- Userbar Begin -->
            <div id="profile">
                <!-- Profile Begin -->
                <div id="avatar">
                    <img src="/img/test_avatar.png" alt="Avatar" height="44" />
                    <a href="#" id="unreadcount">12</a>
                </div>
                <div id="profileinfo">
                    <h3 id="username">@(Session["sessionNombreCompletoPersona"] == null? "" : (Session["sessionNombreCompletoPersona"].ToString().ToUpper()))</h3>
                    <span id="subline">192.168.1.100</span>
                    <div class="clear"></div>
                        @if (Session[blacksoft.Constantes.SystemField.SESION_CODIGO_PERSONA] != null) {
                            <a href="#" class="profilebutton">Profile</a>
                            <a href='@Url.Action("Logout", "INT_Principal")' class="profilebutton">Logout</a>
                        }
                </div>
            </div><!-- Profile End -->
            <ul id="navigation">       
                
                @if (Session[blacksoft.Constantes.SystemField.SESION_CODIGO_PERSONA] != null) { 
                    <li><a href='@Url.Action("PaginaPrincipal", "INT_Principal")' class="icon_home">Principal</a></li>
                    <li><a href='@Url.Action("Edit2", "Cliente", new { id = Session[blacksoft.Constantes.SystemField.SESION_CODIGO_PERSONA] })' class="icon_users">Editar Datos</a></li>
                    <li><a href='@Url.Action("ConsultaReserva", "INT_Reserva")' class="icon_users">Ver Reserva</a></li>
                    <li><a href='@Url.Action("BuscarProgramacion", "ReservaClienteLogin")' class="icon_users">Generar Reserva</a></li>
                    <li><a target="_blank" href='@Url.Action("ReporteHistorialViaje", "HistorialViaje")' class="icon_users">Ver historico</a></li>
                     
                } else { 
                    <li><a href='@Url.Action("Logout", "INT_Principal")' class="icon_users">Regresar</a></li>
                }
            </ul><!-- Main Navigation End -->
        </div>
        <div id="body">
            @RenderBody()
        </div>
    </div><!-- Body Wrapper End -->
</body>
</html>
<script type="text/javascript">
    $('[data-val-required]').after('<span style="color:red; font-size: 20px; vertical-align: middle;"> *</span>');
</script>

